LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := game_shared

LOCAL_MODULE_FILENAME := libgame

LOCAL_SRC_FILES := helloworld/main.cpp \
				   ../../Classes/Scene/Cover/SceneCover.cpp \
				   ../../Classes/Scene/Game/Dialog/DialogMenu.cpp \
				   ../../Classes/Scene/Game/Dialog/DialogScore.cpp \
				   ../../Classes/Scene/Game/Layer/LayerGame.cpp \
				   ../../Classes/Scene/Game/Layer/LayerMap.cpp \
				   ../../Classes/Scene/Game/Layer/LayerUI.cpp \
				   ../../Classes/Scene/Game/Node/NodeFood.cpp \
				   ../../Classes/Scene/Game/Node/NodeProp.cpp \
				   ../../Classes/Scene/Game/Node/NodeRole.cpp \
				   ../../Classes/Scene/Game/SceneGame.cpp \
				   ../../Classes/Scene/Loading/SceneLoading.cpp \
				   ../../Classes/Scene/Logo/SceneLogo.cpp \
				   ../../Classes/Scene/Rank/SceneRank.cpp \
				   ../../Classes/Scene/Select/SceneSelect.cpp \
				   ../../Classes/Scene/UIControl/UIControl.cpp \
				   ../../Classes/AppDelegate.cpp \
				   ../../Classes/GameRuntime.cpp \
				   ../../Classes/JNIManager.cpp 
                   
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes                   

LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static cocos2dxgk_static cocos2dxh_static
            
include $(BUILD_SHARED_LIBRARY)

$(call import-module,CocosDenshion/android) $(call import-module,cocos2dx) $(call import-module,cocos2dxgk) $(call import-module,cocos2dxh)
